package com.recharge.domain.vo;

import com.recharge.common.domain.BaseDO;
import lombok.Data;

import java.util.List;

@Data
public class UserDO extends BaseDO {

    private String username;

    /**
     * 商户ID
     */
    private String merchantId;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 电话号码
     */
    private String telephone;

    /**
     * 1.平台用户 2.商户用户

     */
    private Integer type;

    /**
     * .锁定1.有效\n \n

     */
    private Integer status;

    //角色列表
    private List<RoleDO> roles;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
